#ifndef HEXVALIDATOR_HPP
#define HEXVALIDATOR_HPP

#include <QValidator>

class HexValidator : public QValidator
{
    Q_OBJECT
public:
    explicit HexValidator(QObject *parent = nullptr);

signals:

public slots:

    // QValidator interface
public:
    QValidator::State validate(QString &, int &) const override;
    void fixup(QString &) const override;
};





#endif // HEXVALIDATOR_HPP
